<?php
$tablapri="noticias";
$condicionpri="not_destacada<>1 and not_orden=1 and not_publicar=1 and not_publicar_index=1";
$ordenpri="order by not_id desc limit 0,1 ";
$respri=  cons_sql($tablapri, $condicionpri, $ordenpri);


if(mysql_num_rows($respri)>0){
    $regpri=  mysql_fetch_array($respri);

?>
<div id="slider2">

  <div class="copeteSlider2"><?php echo substr($regpri['not_hora'],0,5)." | ".utf8_encode($regpri['not_copete'])?></div>
    <div class="titSlider2"><a href="noticia.php?not_id=<?php echo utf8_encode($regpri['not_id'])?>" class="link1"><?php echo utf8_encode($regpri['not_titulo'])?></a></div>
    <div class="img_Slider2"> <img src="../panel/archivos/<?php echo utf8_encode($regpri['not_imagen'])?>" width="595" />
     <?php
    if($regpri['not_epi']<>"")
        echo "<div class='notifoto_descripcion'>".utf8_encode($regpri['not_epi'])."</div>"
        ?>
    </div>

    


    <div class="txtSlider2">
   
        
    <?php echo utf8_encode($regpri['not_resumens'])?></div>

</div>
<?php }?>